gint x;
gint child_size;
GtkTextDirection direction;
+ GtkAllocation child_clip;
direction = gtk_widget_get_direction (widget);
nvis_children = count_visible_children (bar);
child_allocation.x = allocation->x + allocation->width - (child_allocation.x - allocation->x) - child_allocation.width;
gtk_widget_size_allocate (child->widget, &child_allocation);
+ gtk_widget_get_clip (child->widget, &child_clip);
+ gdk_rectangle_union (&child_clip, out_clip, out_clip);
next:
i++;
child_allocation.x = allocation->x + allocation->width - (child_allocation.x - allocation->x) - child_allocation.width;
if (title_widget != NULL)
- gtk_widget_size_allocate (title_widget, &child_allocation);
+ {
+ gtk_widget_size_allocate (title_widget, &child_allocation);
+ gtk_widget_get_clip (title_widget, &child_clip);
+ gdk_rectangle_union (&child_clip, out_clip, out_clip);
+ }
child_allocation.y = allocation->y;
child_allocation.height = height;
child_allocation.x = allocation->x + allocation->width - start_width + priv->spacing;
child_allocation.width = start_width - priv->spacing;
gtk_widget_size_allocate (priv->titlebar_start_box, &child_allocation);
+ gtk_widget_get_clip (priv->titlebar_start_box, &child_clip);
+ gdk_rectangle_union (&child_clip, out_clip, out_clip);
}
if (priv->titlebar_end_box)
child_allocation.x = allocation->x + allocation->width - end_width + priv->spacing;
child_allocation.width = end_width - priv->spacing;
gtk_widget_size_allocate (priv->titlebar_end_box, &child_allocation);
+ gtk_widget_get_clip (priv->titlebar_end_box, &child_clip);
+ gdk_rectangle_union (&child_clip, out_clip, out_clip);
}
-
- gtk_container_get_children_clip (GTK_CONTAINER (widget), out_clip);
}
/**